package org.springblade.modules.admin.vo.cert;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * @Description 人员证件统计
 * @Author ysq
 * @Date 2024/04/02
 **/
@Data
public class UserCertStatisticsVO {

	@ApiModelProperty(value = "已过期-证件数")
	private Long expiredCount;

	@ApiModelProperty(value = "即将过期-证件数")
	private Long expiringSoonCount;

	@ApiModelProperty(value = "正常-证件数")
	private Long normalCount;

	@ApiModelProperty(value = "证件总数")
	private Long total;

	public Long getExpiredCount() {
		if (this.expiredCount == null) {
			return 0L;
		}
		return expiredCount;
	}

	public Long getExpiringSoonCount() {
		if (this.expiringSoonCount == null) {
			return 0L;
		}
		return expiringSoonCount;
	}

	public Long getNormalCount() {
		if (this.normalCount == null) {
			return 0L;
		}
		return normalCount;
	}

	public Long getTotal() {
		if (this.total == null) {
			return 0L;
		}
		return total;
	}
}
